<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'node-talk-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->textArea($model,'talk',array('rows'=>2, 'cols'=>76)); ?>
		<?php echo $form->error($model,'talk'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? '发布讨论' : '更新讨论'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->